<?php include_once('Common.php'); ?>
<article id="post-0" class="post no-results not-found">
<form id="formRegis" name="formRegis" action="<?php echo ROOT_URL ?>/job/find" method="post">
	<div class="search-on">
						<div class="fix-search ">
			<h2 class="submenusearch">Tìm việc làm It</h2>
										</div>
		<div class="fix-search ">
			<h2 class="title">Ngành nghề</h2>
			<div class="category_fix" >
											 <table id="tb_Regis " class="secan2" cellpadding="5px">
												 <tr> 
																				 <td>
																						 <div class="checkwithlow">
																							<input type="checkbox" name="category[]"   value="Software / Web Development"  />
																								 </div>
																								<div class="withlow">Software / Web Development</div>
																				 </td>
																				 <td>
																					<div class="checkwithlow">
																						 <input type="checkbox" name="category[]"   value="PM / BSE"  />
																							 </div>
																								<div class="withlow">PM / BSE</div>
																				 </td>
																				 <td>
																								 <div class="checkwithlow">
																						 <input type="checkbox" name="category[]"   value="SEO / Digital Marketing"  />
																							 </div>
																								<div class="withlow">SEO / Digital Marketing</div>
																				 </td>
													</tr>
													 <tr>
																				 <td>
																					<div class="checkwithlow">
																						<input type="checkbox" name="category[]"   value="Network / Server / Database"  />
																							</div>
																								<div class="withlow">Network / Server / Database</div>
																				 </td>
																				 <td>
																					 <div class="checkwithlow">
																						 <input type="checkbox" name="category[]"   value="Admin / HR / Accounting / Legal"  />
																							 </div>
																								<div class="withlow">
																						 Admin / HR / Accounting / Legal</div>
																				 </td>
																				 <td>
																					<div class="checkwithlow">
																						 <input type="checkbox" name="category[]"   value="Web / Graphic Design"  />
																							 </div>
																								<div class="withlow">Web / Graphic Design</div>
																				 </td>
													</tr>
													<tr>
																				 <td>
																					 <div class="checkwithlow">
																					 <input type="checkbox" name="category[]"   value="Test / Quanlity Assurance"  />
																						 </div>
																								<div class="withlow">Test / Quality Assurance</div>
																				 </td>
																				 <td>
																					 <div class="checkwithlow">
																						 <input type="checkbox" name="category[]"   value="Translation / Interprelation"  />
																							 </div>
																								<div class="withlow">Translation/ Interpretation</div>
																				 </td>
																				 <td>
																						 <div class="checkwithlow">
																					 <input type="checkbox" name="category[]"   value="Others"  />
																						 </div>
																								<div class="withlow">Others</div>
																				 </td>
													</tr>
													<tr>
																				 <td>
																					 <div class="checkwithlow">
																					 <input type="checkbox" name="category[]"   value="User / Customer Services"  />
																						 </div>
																								<div class="withlow">User / Customer Services</div>
																				 </td>
																				 <td>
																					<div class="checkwithlow">
																								 <input type="checkbox" name="category[]"   value="Sales / Business Development"  />
																									 </div>
																								<div class="withlow">Sales / Business Development</div>
																				 </td>
																				 <td>
																					
																						 
																				 </td>
													</tr>
												 
				 </table>
			</div>
	</div><!-- category -->
						<div class="fix-search"> 
	<div class="fix-search-2 left location">
			<h2 class="title">Địa điểm</h2>
				<div id="base">

				</div>
				<div id="DivMessage">          
				</div>
			<div class="checkloca" id="location-check" >
				<div id="base">
					<?php
							foreach($this->localtion as $result){
					?>
								<input  type="checkbox" name="location[]" value="<?php echo $result->Location ?>"  />
								<span class="textmodify"><?php echo $result->Location ?></span><br />
					<?php } ?>
						
				</div>										
			</div>
	</div><!-- location-->
	<div class="fix-search-2 right workstyle" id="fix-search-2" style="margin-right:0px;" >
			<h2 class="title">Loại hình</h2>
			<div class="checkloca" id="workstyle-check" >
					<?php 
						foreach($this -> workstyle as $result){	
					?>
							<input type="checkbox" name="workstyle[]"    value="<?php echo $result->workstyle ?>"  />
							<span class="textmodify">
							<?php  
										echo $result->vn;
							?>
							</span><br />

																					 
					<?php } ?>					
												
			</div>
	</div><!-- workstyle--></div>
	<div class="fix-search search-keyword">
		<h2 class="title addtitle" style="height: 22px !important;">Từ khoá</h2>
			<div class="search-from">
			<input type="text" class="txt_class" name="keyword" value="" />
			<input style="background-image: url('http://www.itworks.vn/wp-content/themes/twentyeleven/images/search-button-vn.png');" type="submit" class="submit" value="Search" name="submit"/>
			</div>
	</div>

</div>
	<header class="entry-header">
		<h2 class="entry-title">Tìm việc làm</h2>

		
	</header><!-- .entry-header -->

	<div class="entry-content">
						<table  class="table-new sortable">
																		<thead>
																				<tr class="sort">
																						<th style="width:320px;"  class="sorttable_sorted_reverse">Tên việc làm<span id="sorttable_sortrevind"></span><img src="http://www.itworks.vn/wp-content/themes/twentyeleven/images/icon-sort.png" alt="" /></th>
																						<th style="width:260px;" class="sorttable_sorted sorttable_sorted_reverse">Mô tả<span></span></th>
																						<th style="width:100px;" class=""><b>Địa điểm</b><span></span><img src="http://www.itworks.vn/wp-content/themes/twentyeleven/images/icon-sort-c.png" alt="" /></th>
																				</tr>
																		</thead>
																		<tbody>
																	 
																				<?php	
								 $i=0;
				foreach($this -> job as $res){
			?>
							
																<?php if ($i <= 4) { ?>
																	<tr class="<?php if($i % 2 == 1){echo'white ';}elseif($i % 2 != 1){echo 'white ';} $i++; ?>
																		<?php
								$temp =$res['JobType'];
							 if( $temp=='Part-time'){
								echo 'part-time';
							 } ?>
																	">  
														 
																 <td >
								 <a href="<?php echo ROOT_URL ?>/job/view?id=<?php echo  $res['Job_ID']; ?>"
									<span class="job-title"><?php
																						 echo $res['JobTitle'];
										 ?>
																						 </span>
								</a>
									 
																				 <?php
									 echo '<br/>';
									 echo $res['ComName'];
									 
								?></td>
															 
								<td><div class="overlow1">
								 <?php  
										$text = $res['JobDesc'];	
										echo strip_tags($text,'<div><br/>');
									?>
								</div></td>
								<td>
									<?php echo  $res['WorkPlace']; ?>
								</td>
										<td class="button-job-status" id="job_status<?php echo $res['Job_ID'] ?>">																			
											<a href="/pick-up/?id=<?php echo  $res['Job_ID']; ?> ">																			
											<img src="http://www.itworks.vn/wp-content/themes/twentyeleven/images/pickup-vn.png"alt="" /></a>																			
										</td>
																			
									</tr>
															 
																		<?php
									
				} }
										?>
															
							</tbody>                                
																
				<tfoot>
			</tfoot>
		</table>
	</div><!-- .entry-content -->
</form>
</article><!-- #post-0 -->
